package easier.fast.service.data;

/**
 * 携带信息的异常
 */
public class CodeDataMsgException extends Throwable {

    private final CodeMsgData mCodeMsgData;

    public CodeDataMsgException( CodeMsgData codeMsgData ) {

        super( codeMsgData.msg );
        mCodeMsgData = codeMsgData;
    }

    public CodeMsgData getCodeMsgData() {

        return mCodeMsgData;
    }
}
